package com.smartjobs.loader;

import d2rq.dump_rdf;



import com.smartjobs.util.RuntimeSettings;
public class RDFLoader {
	
	public static void loadFromDataBase() {
		
		String args[];
		
		args = new String[11];
		args[0]="-o";
		args[1]=RuntimeSettings.fileName;
		args[2]="-f";
		args[3]="RDF/XML";
		args[4]="-b";
		args[5]="http://www.smartJobs.com";
		args[6]="-u";
		args[7]=RuntimeSettings.dbUserID;
		args[8]="-p";
		args[9]=RuntimeSettings.dbPassword;
		args[10]=RuntimeSettings.dbUrl+RuntimeSettings.databaseName;
		
		new dump_rdf().process(args);
        new SwoopTest().addSemantics(RuntimeSettings.fileName);
        MergeFile.mergeFile();
	}
	
//	public static void main(String[] args) {
//		loadFromDataBase();
//	}

}
